.navbar-container {
  height: $navbar-height + $navbar-border-width * 2;
}

.navbar-full {
  width: 100%;
  height: $navbar-height;
  background-color: $navbar-bg-color;
  border: $navbar-border-width solid $navbar-border-color;
  text-align: center;
  &.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }
}

.navbar {
  width: 100%;
  height: $navbar-height;
  max-width: $navbar-max-width;
  display: inline-flex;
  justify-content: space-between;
  align-items: stretch;
  position: relative;
}

.menu-button {
  display: none;
  height: 34px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  background-color: transparent;
  cursor: pointer;
  padding: 0 10px;
  margin: 0 15px;
  i {
    font-size: 20px;
  }
  &:hover {
    background-color: rgb(230, 230, 230);
  }
}

.navbar-side-toggle {
  display: flex;
}

.navbar-collapse {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background-color: $navbar-bg-color;
  border-top: 1px solid rgb(230, 230, 230);
  border-bottom: 1px solid rgb(230, 230, 230);
  padding: 5px 0;
  overflow: hidden;
}

.navbar {
  @media (max-width: $screen-xs-max) {
    .navbar-side-toggle {
      display: none;
    }

    .menu-button {
      display: block;
    }

    .navbar-collapse {
      display: block;
    }

    .nav {
      text-align: left;
      justify-content: start;
    }

    .dropdown-item {
      text-align: left;
      justify-content: start;
      padding: 5px 20px;
    }

    .dropdown-collapse {
      position: relative;
      box-shadow: none;
    }

    .my-input {
      flex: 1;
    }
  }
}